package com.ruoyi.jjm.domain;

import java.math.BigDecimal;
import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 村民收煤记录对象 t_user_receive
 * 
 * @author tsr
 * @date 2020-07-15
 */
public class UserReceive extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** null */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 用户订单ID */
    @Excel(name = "用户订单ID")
    private Long userOrderId;

    /** 供货商订单ID */
    @Excel(name = "供货商订单ID")
    private Long supplierOrderId;

    /** 收煤数量 */
    @Excel(name = "收煤数量")
    private BigDecimal receiveNum;

    /** 收煤人 */
    @Excel(name = "收煤人")
    private String receiveName;

    /** 收煤时间 */
    @Excel(name = "收煤时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date receiveTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setUserOrderId(Long userOrderId) 
    {
        this.userOrderId = userOrderId;
    }

    public Long getUserOrderId() 
    {
        return userOrderId;
    }
    public void setSupplierOrderId(Long supplierOrderId) 
    {
        this.supplierOrderId = supplierOrderId;
    }

    public Long getSupplierOrderId() 
    {
        return supplierOrderId;
    }
    public void setReceiveNum(BigDecimal receiveNum) 
    {
        this.receiveNum = receiveNum;
    }

    public BigDecimal getReceiveNum() 
    {
        return receiveNum;
    }
    public void setReceiveTime(Date receiveTime) 
    {
        this.receiveTime = receiveTime;
    }

    public Date getReceiveTime() 
    {
        return receiveTime;
    }

    public String getReceiveName() {
        return receiveName;
    }

    public void setReceiveName(String receiveName) {
        this.receiveName = receiveName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("userOrderId", getUserOrderId())
            .append("supplierOrderId", getSupplierOrderId())
            .append("receiveNum", getReceiveNum())
            .append("receiveTime", getReceiveTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
